package cn.imvc.app.models;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.Activity;
import cn.imvc.data.domain.ViewRequest;

public interface ActivityModel {

	Page<Activity> find(ViewRequest viewRequest);

	Activity save(Activity activity);

	Activity update(int id,Activity activity);

	void delete(int id);

	Activity get(int id);

}
